/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package parse;

/**
 *
 * @author phong
 */
public class Chart {
    
    Cell[] cells;
    int len;
    
    public Chart(int len) {
        this.len = len;
        cells = new Cell[this.len*this.len];
    }
    
    public Cell getCell(int row, int col) {
        return cells[row*len + col];
    }    
}
